package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.MsContractBasic;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 合同信息业务对象 ms_contract_basic
 *
 * @author Lion Li
 * @date 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MsContractBasic.class, reverseConvertGenerate = false)
public class MsContractBasicBo extends BaseEntity {

    /**
     * 合同ID
     */
    @NotNull(message = "合同ID不能为空", groups = { EditGroup.class })
    private Long contractId;

    /**
     * 合同编号
     */
    private String contractNo;

    /**
     * 老人姓名
     */
    private String elderName;

    /**
     * 房间ID
     */
    private Long roomId;

    /**
     * 房间号
     */
    private String roomNumber;

    /**
     * 床位ID
     */
    private Long bedId;

    /**
     * 床位号
     */
    private String bedNumber;

    /**
     * 合同开始日期
     */
    private Date startDate;

    /**
     * 合同结束日期
     */
    private Date endDate;

    /**
     * 月费用
     */
    private Long monthlyFee;

    /**
     * 押金
     */
    private Long deposit;

    /**
     * 合同状态
     */
    private String contractStatus;

    /**
     * 联系人姓名
     */
    private String contactName;

    /**
     * 是否同意协议
     */
    private String agreementAccepted;

    /**
     * 备注
     */
    private String remarks;


}
